package com.atguigu.gulimall.product.service;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.product.vo.AttrGroupRelationVo;
import com.atguigu.gulimall.product.vo.AttrVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrGroupEntity;

import java.util.Map;

/**
 * @author zhengwu
 * @email jiachao@163.com
 * @date 2020-10-08 21:49:59
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    R findCatelogPath(Long attrGroupId);

    /**
     * @param * @param catelogId
     * @Date:19:52 2020/12/20 0020
     * @Description:获取分类下所有分组&关联属性
     * @retrun com.atguigu.common.utils.R
     */
    R getAttrGroupWithAttr(Long catelogId);

}

